import { createBrowserRouter, RouteObject } from "react-router-dom"
import MainLayout from "../layout/MainLayout"
import Agent from "../app/agent"

const routes = [
    {
        element: <MainLayout />,
        children: [
            {
                element: <Agent/>,
                path: '/'
            }
        ]
    }
] as RouteObject[]

export default createBrowserRouter(routes)